import LikeModel from "../../models/Like";
import Crypt from "../../utils/Crypt";

const likeModel = new LikeModel()

Component({
  properties: {},
  data: {},
  methods: {},
  created() {
    likeModel.getList().then(response => {
      let { data } = response
      data = Crypt.parse(data)
      this.setData({ list: data })
    })
  }
});
